import request from '@/utils/request'

// 物资分布
export function getStoreLinfo() {
	return request({
		'url': `/sw/goods/goodsStoreInfo/list`,
		'method': 'get'
	})
}

// 数据统计
export function getStoreRelev(val) {
	return request({
		'url': `/sw/goods/goodsStoreRelev/list?pageSize=${val.size}&goodsName=${val.goodsName}&storeName=${val.storeName}`,
		'method': 'get'
	})
}

// 物资类别百分比
export function getPercentage() {
	return request({
		'url': `/sw/goods/goodsStoreRelev/stockPercentage`,
		'method': 'get'
	})
}